﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DeviceCommon
{ 
    /// <summary>
    /// 指示设备运行状态
    /// </summary>
    public enum DeviceState
    {
        /// <summary>
        /// 未初始化的
        /// </summary>
        NotInitialized = 0,
        /// <summary>
        /// 正在初始化
        /// </summary>
        Initializing = 1,
        /// <summary>
        /// 准备就绪
        /// </summary>
        Readying = 2, 
        /// <summary>
        /// 正在运行
        /// </summary>
        Running = 3,
        /// <summary>
        /// 正在关闭(退出)
        /// </summary>
        Exiting = 4,
        /// <summary>
        /// 指示设备发生了无法自我恢复的错误
        /// </summary>
        Error = 5,
    }
}
